package co.recloud.ariadne.thread;

import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class ThreadPool {
	private static ThreadPoolExecutor executor = new ThreadPoolExecutor(100, 200, 5000, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<Runnable>());
	public static void startThread(Runnable task) {
		executor.execute(task);
	}
}
